<template>
  <div class="container">
    容器
  </div>
  <el-button @click="changeClass">
    添加class
  </el-button>
</template>

<script lang="ts" setup>
import { toggleClass } from '@/utils/operationDom'

const changeClass = () => {
  toggleClass({
    cls: 'container111',
    targetDomOrClass: 'html'
  })
}
</script>

<style scoped lang="scss">

</style>
